<div class="navbar navbar-default" id="navbar">
			<script type="text/javascript">
				try{ace.settings.check('navbar' , 'fixed')}catch(e){}
			</script>

			<div class="navbar-container" id="navbar-container">
				<div class="navbar-header pull-left">
					<a href="#" class="navbar-brand">
						<small>
							重庆第二师范学院教师教育学院
						</small>
					</a><!-- /.brand -->
				</div><!-- /.navbar-header -->

				<div class="navbar-header pull-right" role="navigation">
					<ul class="nav ace-nav">
					    <?php 
						if(Yii::app()->user->rights === '1'){
						echo '	
						<li class="purple">
							<a  class="dropdown-toggle" href="'.Yii::app()->createUrl('stunotify/personal').'" target="_blank">
								<i class="icon-bell-alt icon-animated-bell"></i>
								<span class="badge badge-important">'.$this->personalNoNum.'</span>
							</a>
                       
						</li>
						';
						$temp = '<li class="green">
							<a   href="'.Yii::app()->createUrl('stunotify/public').'" target="_blank">
								<i class="icon-envelope icon-animated-vertical"></i>
								<span class="badge badge-success">5</span>
							</a>
						</li>';
						}
						?>
						<li class="light-blue">
							<a data-toggle="dropdown" href="#" class="dropdown-toggle">
								<img class="nav-user-photo" src="<?php echo Yii::app()->params['static']; ?>assets/avatars/user.jpg" alt="<?php  echo Yii::app()->user->getName();?>'s Photo" />
								<span class="user-info">
									<small>欢迎,</small>
									<?php  echo Yii::app()->user->getName();?>
								</span>

								<i class="icon-caret-down"></i>
							</a>

							<ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
								<li>
									<a href="<?php echo Yii::app()->createUrl('login/logout');?>">
										<i class="icon-off"></i>
										登出
									</a>
								</li>
							</ul>
						</li>
					</ul><!-- /.ace-nav -->
				</div><!-- /.navbar-header -->
			</div><!-- /.container -->
		</div>